package com.pureut.storage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.storage.domain.PickingReturns;
import com.pureut.storage.dto.AndroidHandoverPdaDto;
import com.pureut.storage.dto.GetPdaDto;
import com.pureut.storage.dto.PickingReturnsDto;
import com.pureut.storage.export.PickingReturnsExport;
import com.pureut.storage.vo.PickingReturnsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: CM
 * @date: 2022/12/30    16:41
 */
@Mapper
public interface PickingReturnsMapper extends BaseMapper<PickingReturns> {

    /**
     *  采购退货列表查询
     * @param pickingReturnsVo
     * @return
     */
    List<PickingReturnsDto> getPickingReturnslList(PickingReturnsVo pickingReturnsVo);

    /**
     *  采购退货查看
     * @param id
     * @return
     */
    PickingReturnsDto getPickingReturnsById(Long id);

    List<GetPdaDto> getPickingReturnslListPda(PickingReturnsVo pickingReturnsVo);

    /**
     * 委外退货交接列表
     * @param deptId
     * @return
     */
    List<AndroidHandoverPdaDto> getAndroidHandoverList(Long deptId);

    AndroidHandoverPdaDto getAndroidHandoverView(Long id);

    /**
     * 导出
     * @param pickingReturnsVo
     * @return
     */
    List<PickingReturnsExport> getInfoExport(PickingReturnsVo pickingReturnsVo);
}
